package com.f1ashback.bus.mapper;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.f1ashback.bus.Qo.UserQo;
import com.f1ashback.bus.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper extends BaseMapper<User> {
    List<User> list();

    User selectByUserName(String username);

    User selectByUserId(Long userId);

    Integer updateByUserName(User user);

    Integer updateByUserId(User user);

    List<User> queryUser(User queryUser);

    Long selectUserIdByName(String username);

    List<String> selectAllUserName();
}
